package com.joolun.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 招生排期对象 edu_scheduling
 * 
 * @author joolun
 * @date 2025-02-27
 */
@Data
public class EduScheduling extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排期id */
    private Long schedulingId;

    /** 期数 */
    @Excel(name = "期数")
    private String schedulingNumber;

    /** 直播老师 */
    @Excel(name = "直播老师")
    private Long liveTeacher;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 关联课程id */
    @Excel(name = "关联课程id")
    private Long courseId;

    /** 招生开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "招生开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String enrollStartTime;

    /** 招生结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "招生结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String enrollEndTime;

    /** 上课开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上课开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String attendStartTime;

    /** 上课结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上课结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String attendEndTime;

    /** 排期分班类型：1-顺序，2-随机，3-轮询 */
    @Excel(name = "排期分班类型：1-顺序，2-随机，3-轮询")
    private Integer schedulingType;

    /** 主体id */
    @Excel(name = "主体id")
    private String corpId;

    public void setSchedulingId(Long schedulingId) 
    {
        this.schedulingId = schedulingId;
    }

    public Long getSchedulingId() 
    {
        return schedulingId;
    }
    public void setSchedulingNumber(String schedulingNumber) 
    {
        this.schedulingNumber = schedulingNumber;
    }

    public String getSchedulingNumber() 
    {
        return schedulingNumber;
    }
    public void setLiveTeacher(Long liveTeacher) 
    {
        this.liveTeacher = liveTeacher;
    }

    public Long getLiveTeacher() 
    {
        return liveTeacher;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setAttendStartTime(String attendStartTime)
    {
        this.attendStartTime = attendStartTime;
    }

    public String getAttendStartTime()
    {
        return attendStartTime;
    }
    public void setAttendEndTime(String attendEndTime)
    {
        this.attendEndTime = attendEndTime;
    }

    public String getAttendEndTime()
    {
        return attendEndTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("schedulingId", getSchedulingId())
            .append("schedulingNumber", getSchedulingNumber())
            .append("liveTeacher", getLiveTeacher())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("courseId", getCourseId())
            .append("enrollStartTime", getEnrollStartTime())
            .append("enrollEndTime", getEnrollEndTime())
            .append("attendStartTime", getAttendStartTime())
            .append("attendEndTime", getAttendEndTime())
            .append("schedulingType", getSchedulingType())
            .toString();
    }
}
